<{* $Id: weblinks2_link_single.html 225 2008-03-03 06:33:58Z mikhail.miguel $ *}>

<div class="weblinks_link_single_frame">

<div class="weblinks_link_single_frame_title">
<table><tr><td align="left">

<{if $link.flag_url == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/visit.php?lid=<{$link.lid}>" target="_blank">
<{elseif $link.flag_url == 2}>
  <a href="<{$link.url}>" onmousedown="return weblinks_hardlink(this,<{$link.lid}>)" target="_blank">
<{/if}>

<{if $link.flag_url != 0}>
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/link.gif" border="0" alt="<{$lang_visit}>" />&nbsp;&nbsp;
<{/if}>

<span class="weblinks_link_title"><{$link.title}></span>

<{if $link.flag_url != 0}>
  </a>
<{/if}>

&nbsp;&nbsp;

<{if $link.flag_new == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/index.php?keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/new.gif" border="0" alt="<{$lang_image_new}>" /></a>
<{/if}>

<{if $link.flag_update == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/index.php?keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/update.gif" border="0" alt="<{$lang_image_update}>" /></a>
<{/if}>

<{if $link.flag_pop == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/topten.php?hit=1&amp;keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/pop.gif" border="0" alt="<{$lang_image_popular}>" /></a>
<{/if}>

<{if $link.flag_recommend == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/viewmark.php?mark=recommend&amp;keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/cool.gif" border="0" alt="<{$lang_image_recommend}>" /></a>
<{/if}>

<{if $link.flag_mutual == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/viewmark.php?mark=mutual&amp;keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/hot.gif" border="0" alt="<{$lang_image_mutual}>" /></a>
<{/if}>

&nbsp;&nbsp;

<{if $link.rss_flag == 1}>
  <a href="<{$link.rss_url}>" target="_blank">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/rdf.png" border="0" alt="rdf" /></a>
<{elseif $link.rss_flag == 2}>
  <a href="<{$link.rss_url}>" target="_blank">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/rss.png" border="0" alt="rss" /></a>
<{elseif $link.rss_flag == 3}>
  <a href="<{$link.rss_url}>" target="_blank">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/atom.png" border="0" alt="atom" /></a>
<{/if}>

</td><td align="right">

<span class="weblinks_bold"><{$lang_lastupdate}></span> <{$link.update}>

</td></tr></table>
</div>

<div class="weblinks_link_single_frame_category">

<span class="weblinks_bold"><{$lang_category}></span>&nbsp;

<{if $link.show_catpaths}>
<{* -- Start path loop -- *}>
  <{section name=ii loop=$link.catpaths}>
    <{section name=j loop=$link.catpaths[ii]}>
      <a href="<{$xoops_url}>/modules/<{$dirname}>/viewcat.php?cid=<{$link.catpaths[ii][j].cid}>&amp;keywords=<{$keywords}>"><{$link.catpaths[ii][j].title}></a>
      <{if $smarty.section.j.last == false}>
        &nbsp;<img src="<{$xoops_url}>/modules/<{$dirname}>/images/arrow2.gif" border="0" alt="arrow" />&nbsp;
      <{/if}>
    <{/section}>
    <{if $smarty.section.ii.last == false}>
      &nbsp;:&nbsp;
    <{/if}>
  <{/section}>
<{* -- End path loop -- *}>
<{else}>
  <span class="weblinks_error">No Category</span>
<{/if}>
<br />

<{if $link.name_disp != "" or $link.mail_disp != "" or $link.company != ""}>
  <span class="weblinks_bold"><{$lang_promoter}></span>&nbsp;
  
  <{if $link.name_disp != ""}>
    <{if $link.mail_disp != ""}>
      <a href="mailto:<{$link.mail_disp}>"><{$link.name_disp}></a>
    <{else}>
      <{$link.name_disp}>
    <{/if}>
    &nbsp;&nbsp;
  <{/if}>
  
  <{$link.company}> <br />
<{/if}>

<{if $xoops_language == 'japanese'}>

  <{if $link.zip != ""}>
    <span class="weblinks_bold"><{$lang_zip}></span> <{$link.zip}>
  <{/if}>

  <{if $link.flag_addr == 1 }>
    <table><tr><td align="left">

    <span class="weblinks_bold"><{$lang_addr}></span>&nbsp;

    <{if $link.state != ""}>
      <{$link.state}>&nbsp;
    <{/if}>
    <{if $link.city != ""}>
      <{$link.city}>&nbsp;
    <{/if}>

    <{$link.addr}> <{$link.addr2}>

    </td><td valign="middle" align="right">

    <a href="http://search.map.yahoo.co.jp/search?p=<{$link.addr_encode}>" target="_blank">
    <img src="<{$xoops_url}>/modules/<{$dirname}>/images/map.png" border="0" alt="map" /></a>

<{* ---
  <a href="http://www.mapfan.com/index.cgi?ADDR=<{$link.addr_encode}>" target="_blank">
  <img src="http://www.mapfan.com/images/55_20.gif" border="0" alt="mapfan" /></a>
--- *}>

    </td></tr></table>
  <{/if}>

<{else}>

  <{if ($link.flag_addr == 1) || ($link.zip != "")}>
    <table><tr><td align="left">
    <span class="weblinks_bold"><{$lang_zip}></span> <{$link.zip}>
    </td>
    <td rowspan="2" valign="middle" align="right">

    <{if $country == 'usa'}>
      <form action="http://us.rd.yahoo.com/maps/home/submit_a/*-http://maps.yahoo.com/maps" target="_blank" method="get">
      <input type="hidden" name="addr" value="<{$link.addr}>" />
      <input type="hidden" name="csz"  value="<{$link.city}>, <{$link.state}> <{$link.zip}>" />
      <input type="hidden" name="country"  value="us" />
      <input type="hidden" name="srchtype" value="a" />
      <input type="submit" name="getmap"   value="MAP" />
      </form>
    <{/if}>

    </td></tr>
    <tr><td align="left">
    <span class="weblinks_bold"><{$lang_addr}></span>&nbsp;
    <{$link.addr2}> <{$link.addr}>

    <{if $link.city != ""}>
      , <{$link.city}>
    <{/if}>
    <{if $link.state != ""}>
      , <{$link.state}>
    <{/if}>

    </td></tr></table>
  <{/if}>

<{/if}>

<{if ($link.tel != "") || ($link.fax != "") }>
  <{if $link.tel != ""}>
    <span class="weblinks_bold"><{$lang_tel}></span> <{$link.tel}>&nbsp;&nbsp;
  <{/if}>

  <{if $link.fax != ""}>
    <span class="weblinks_bold"><{$lang_fax}></span> <{$link.fax}>
  <{/if}>
<{/if}>

</div>

<div class="weblinks_link_single_frame_description">

<{if ($link_image_use == 1) && $link.image_url != ""}>

  <{if $link.flag_url == 1}>
    <a href="<{$xoops_url}>/modules/<{$dirname}>/visit.php?lid=<{$link.lid}>" target="_blank">
  <{elseif $link.flag_url == 2}>
    <a href="<{$link.url}>" onmousedown="return weblinks_hardlink(this,<{$link.lid}>)" target="_blank">
  <{/if}>

  <{if ($link.image_link_width != "") && ($link.image_link_height != "")}>
    <img src="<{$link.image_url}>" width="<{$link.image_link_width}>"  height="<{$link.image_link_height}>" alt="banner" class="weblinks_link_image" />
  <{else}>
    <img src="<{$link.image_url}>" alt="banner" class="weblinks_link_image" />
  <{/if}>

  <{if $link.flag_url != 0}>
    </a>
  <{/if}>

<{/if}>

<{if $is_module_admin}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/admin/link_manage.php?op=modLink&amp;lid=<{$link.lid}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/editicon.gif" border="0" alt="<{$lang_editthislink}>" />
  </a>&nbsp;
<{/if}>

<span class="weblinks_bold"><{$lang_description}></span><br />
<span class="weblinks_link_description"><{$link.description}></span><br /><br />

<{if $link.admincomment != ""}>
  <span class="weblinks_bold"><{$lang_admincommnet}></span><br />
  <span class="weblinks_link_admincomment"><{$link.admincomment}></span><br /><br />
<{/if}>

</div>

<div class="weblinks_link_single_frame_hits">

<{if $show_hits}>
  <span class="weblinks_bold"><{$lang_hits}>:</span> <{$link.hits}>&nbsp;&nbsp;
<{/if}>

<{if $show_rating}>
  <span class="weblinks_bold"><{$lang_rating}>:</span> <{$link.rating_disp}> (<{$link.votes_disp}>)
<{/if}>

</div>

<div class="weblinks_link_single_frame_footer">

<{if $link.show_modify}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/modlink.php?lid=<{$link.lid}>"><{$lang_modify}></a>
  &nbsp;|&nbsp;
<{/if}>

<{if $show_ratelink}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/ratelink.php?lid=<{$link.lid}>"><{$lang_ratethissite}></a>
  &nbsp;|&nbsp;
<{/if}>

<{if $show_brokenlink}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/brokenlink.php?lid=<{$link.lid}>"><{$lang_reportbroken}></a>
  &nbsp;|&nbsp;
<{/if}>

<a href="<{$xoops_url}>/modules/<{$dirname}>/singlelink.php?lid=<{$link.lid}>&amp;keywords=<{$keywords}>#comment"><{$lang_comments}> (<{$link.comments}>)</a>
&nbsp;|&nbsp;

<{if $show_atomfeed}>
  <{if $link.rss_flag == 1}>
    <a href="<{$xoops_url}>/modules/<{$dirname}>/singlelink.php?lid=<{$link.lid}>&amp;keywords=<{$keywords}>#rss">RDF</a>
    &nbsp;|&nbsp;
  <{elseif $link.rss_flag == 2}>
    <a href="<{$xoops_url}>/modules/<{$dirname}>/singlelink.php?lid=<{$link.lid}>&amp;keywords=<{$keywords}>#rss">RSS</a>
    &nbsp;|&nbsp;
  <{elseif $link.rss_flag == 3}>
    <a href="<{$xoops_url}>/modules/<{$dirname}>/singlelink.php?lid=<{$link.lid}>&amp;keywords=<{$keywords}>#rss">ATOM</a>
    &nbsp;|&nbsp;
  <{/if}>
<{/if}>

<a href="<{$xoops_url}>/modules/<{$dirname}>/print.php?lid=<{$link.lid}>">
<img src="<{$xoops_url}>/modules/<{$dirname}>/images/print.gif" alt="print" borber="0" /> 
<{$lang_print}>
</a>
&nbsp;|&nbsp;

<a target="_top" href="mailto:?subject=<{$link.mail_subject}>&amp;body=<{$link.mail_body}>">
<img src="<{$xoops_url}>/modules/<{$dirname}>/images/friend.gif" alt="friend" borber="0" /> 
<{$lang_tellafriend}>
</a>
&nbsp;

</div>

</div>
